PDFSampleFunction Constructor(int[],int,PDFSampleFunctionInterpolationMode,double[],double[],byte[])
In This Topic
Initializes a new
PDFSampleFunction object with the specified COS function.
Syntax
Parameters
- size
- An array of m positive integers specifying the number of samples in each input dimension of the sample table.
- bitsPerSample
- The number of bits used to represent each sample.
- interpolationMode
- The interpolation mode between samples.
- encode
- An array of 2 x m numbers specifying the linear mapping of input values into the domain of the function's sample table.
- decode
- An array of 2 x n numbers specifying the linear mapping of sample values into the range appropriate for the function's output values.
- samples
- Sample function data.
See Also